package com.clwl.supervise.superviseapp.entity.customer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Bert模型训练答案与标签映射关系表
 */
@Data
@TableName(value = "dl_bert_answer")

public class DlBertAnswer implements Serializable {
    /**
     * ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 答案(训练文件问题对应的答案)
     */
    @TableField(value = "answer")
    private String answer;

    /**
     * 标签(对应dl_data_label.name,可重复)
     */
    @TableField(value = "`label`")
    private String label;


    /**
     * 客服使用
     */
    @TableField(exist = false)
    private String value;


    /**
     * 消息解析类型;0-正常查询大数据库流程解析 ；1-使用lengchain chat解析
     */
    @TableField(exist = false)
    private String type;

    /**
     * 客服使用
     */
    @TableField(exist = false )
    private String queryLabel;

    /**
     * 客服使用
     */
    @TableField(exist = false)
    private String comment;

    @TableField(exist = false)
    private List<String> knowledgeBaseList = new ArrayList<>();


    private static final long serialVersionUID = 1L;
}
